package service

type (
	IMynetwork interface {
	}
)

var (
	localMynetwork IMynetwork
)

func Mynetwork() IMynetwork {
	if localMynetwork == nil {
		panic("implement not found for interface IMynetwork, forgot register?")
	}
	return localMynetwork
}

func RegisterMynetwork(i IMynetwork) {
	localMynetwork = i
}
